Fixed the math by switching the pay per week with the totalTime