uses computepay function to calculate pay and time and a half