Add a function for "twisting" points.
Add a function for "twisting" points.

The basis for function came from the tutor as part of the first assignment.

Currently unable to get online, so cannot double-check tutor's name, I think it
is Edward Angel, if it isn't this comment will make me cringe whenever I see it.

wsdhart/webgl,wsdhart/webgl