Resolved Issue #290

Added Try/Except ZeroDivisionError for rate and batchrate calculations.