Removed redundancies, still getting backprop type error.