BACKING UP NEWEST CODE, PWM IMPLEMENTATION, BROKEN!!