Updated PWM documentation
Improved reference logic
Add gdbinit file for remote debugging