Added rounding function to avgHourly calculation