Magnetic Attitude Control Development And Simulation For A 3U Cube Satellite