add GridMDNeuralNetwork class (backprop not implemented)