handle division by zero
Merge pull request #3 from lsmith77/edge_case_fix

handle division by zero