Just converted all calculations to floats