fixed bug in W and b1 gradients