Fixed boneheaded math error