Calculates rate of pay