Changed floats to doubles in all components