Derp... forgot to check for dividing by 0