Added calculation with reps

Added calculation with reps
Version number is now 1.2