Fixed (for real) hal_timer TPS calculation

Also removed that silly frequency mode stuff from hal_ucs.