Now calculates the totals / wages