Fixed math
Merge pull request #6 from CommunistPancake/master

Fixed sb math