completed PID loop tutorial.
merged changes from a commit on github