Upgraded floats to doubles