Fixed rounding issue that rounded 45 to 40. Added reps to beat functionality and tests