Update NeuralNetwork.py

Errors fixed in the following:
- np.einsum sections
- np.copy needed in various locations
- grad checking completed with <1E-12 error for back prop