finish forward propogation for neural network