Fix maths
Merge pull request #1 from calebthompson/patch-1

Fix maths