added new methods to NeuralNetworkVectorized