Added an API for CGLA and included it in util.h.
Changed the Painter class to use the CGLA API instead of CGLA class template parameter.
The velocity functions are now using CGLA API.
Deleted unused tetrahedralize.h.
The sign function is now a template function of real.
Simplified utility functions which calculates the mean squared length.
Deleted unused utility functions.