Matlab Train Shallow Neural Network