Fixed float/integer division problems
Fixed another errant division