Directional singularity escape and avoidance for single-gimbal control moment gyroscopes