Update ratioCalculator.java