Added rounding of final output