Changed default arguments to make clear that they are floats