Stochastic Gradient Descent with Back Propogation implemented but bugged