Neural Network Implementation for Torpedo Design and Optimization