Allocating Employee Payroll to Multiple Departments