code for 30-degree sensors, correction after steep turns (work in progress)