many types were changed from float to doubles to increase precision