changed a couple double datatypes to float

these need to match the reasoning in the design doc