There is a weird “jumping” in the values. It is probably in the update function after the heading is calculated and normalized