orientation detection is still not working correctly due to a phase drift in accelerometer and magnetometer
added timestamps to output that show the cause of the problem
added linear interpolation (resampling) of vectors to match different time snapshots
fixed coordinate system
removed time from printf