Fixed a small bug that divided by 0
Merge pull request #91 from ZachMSU/dividing_by_0_fix

Fixed a small bug that divided by 0