Timer4 Auto-Magic time setup

Timer4 now determines the best way to setup its own prescaler,
postscaler, and period registers.