Fixed Devision by zero error
Merge pull request #3 from slothdnk/master

Fixed Devision by zero error