Cleanup of vecmath.