Simple Templated Mathematics Library for 3D Graphics