Calculating Waiting Time Penalty