PWM counter to working. TBCLKSYNC had to be set to 1 to enable the counters. Initial Commit for pwm_test