Using both Accelerometer and magnetometer to do a complementary filter to calculate the compass direction. Added more fine-grained directions (NW, NE, SE, SW)