Fixes divide by zero
More Divide By Zero
Merge pull request #1 from cameroncf/master

Fixes divide by zero