Added SQGLE integrator, vector trig functions