This commit patches an apparent error that caused the IMS model to divide by zero.
Merge branch 'Alex_Ferguson' of https://github.com/ESP-rCommunity/ESP-rSource into Alex_Ferguson