implemented tutorial 15 in perl
change order of instructions in quaternion ops to match output order
faster perl implementation of quaternion math