Canadian Payroll

Has anyone been able to create a payroll control that correctly accounts for the EHT in Ontario? (including $400,000 exemption) Has anyone been able to create FIT and provincial tax payroll controls specific to bonuses and retro pay? Any assistance is appreciated!