Fixed bug from missing break statements in initialize, and also fixed bug regarding proper clock selection in initialize.
Changed channel for PWM from 2 to 1