Please save me from my misery. I made this Neural Network but something is wrong with my backward derivatives which cause the wights to be \'nan\' and the prediction to be v