Implemented enhancement to gyroscope offset calculation so that if the difference between the highest and lowest reading is to high, the offset value is recalculated.