Spacecraft Attitude Control: Development and Application of New Algorithms