Parameters Optimization of the Beam Cleanup System Based on Stochastic Parallel Gradient Descent Method