Added angleToCoord method.
Fixed variable name typos.
Removed comment.