Improved efficiency of vector math by passing by reference
Added couts to the main so that it is easier to see what is happening
Made a table of vector means
Got the perpendicular component of the magnetometer data
Added very important list of the order of the angle measurements
Modified the direction of the two vectors that we could not measure from the correct direction