Vector and graphics maths for nimrod