class updates

Gradients