2-D Spacecraft Attitude Control Modeling and Design