Make pi a float instead of a double