added gyro code and complimentary filter