Fefactor of tuque, updated constants and doc comments.
fixing up comments during code review.
Corrected some feedback from code review.
Reverted function comment.
removed un necessary intval call on function parameter.
Merge pull request #87 from MorganDawe/1.x

Refactor of tuque, updated constants and doc comments.