created neuralweights generic and methods, documentation