Math error solved
Merge pull request #31 from militaru92/master

Math error solved