kinda figured out backprop algo.. but not sure if gradient is ok