computegrad to compute gradients , initial commit