Applications of Optimal Guidance in Space Mission