Corrected rounding mistakes