Changed Math.rint to decimalFormat to improve visual
Sanitize errors completely corrected as far as we can (some RIOT mistakes are still there)