Updated mathematics within selectNextWaypoint(), namely the line
&&
(Math.acos(normalVectorFromCurrentToPotential.dot(normalVectorFromCurrentToLast))*180/Math.PI)
< maxAngle
Merge branch 'master' of https://github.com/CremboC/INI.git