ENH: Updated tracker stabilizer algorithm to avoid gimbal lock issues