Simulation of Three Axis Attitude Control Using a Control Momentum Gyroscope for Small Satellites