Converting g factors to floats for division

convert g factors to floats to make sure that it does float and not integer division but float division occurs.