THE RCS ATTITUDE CONTROLLER FOR THE EXO-ATMOSPHERIC AND GUIDED ENTRY PHASES OF THE MARS SCIENCE LABORATORY