Algorithms For Optimal Construction And Training Of Radial Basis Function Neural Networks