merge Trigonometry.h with other arithmetic files; correct errors in Vec3.h