Remove my definitions from main and correct the mag influence on the complementary filter.