The Improvement and Comparison of Different Algorithms for Optimizing Neural Networks on the MasPar MP-2