Removed deprecation warnings on gradients

As well as deprecated ways to call these methods.
Merge pull request #674 from cheba/shading-deprecations

Removed deprecation warnings on gradients