Clarified the example usage

The usage should be: `optim.sgd(func,x,state)`