Added ALL the gyro code. See readme for behavior