Fixed silly bug where ratios for 0:0 where calculated incorrectly. Fixed another silly bug where ratios were rounded.