Implementation of rotating the pin depending on heading value. Minor bug fixes.
Merge pull request #2 from stan119/master

Implementation of rotating the pin depending on heading value.