Minor change

Made sure the arguments were converted to a float.