Revert "Added gradient"

This reverts commit 448a231112694c399c073a5b92f192c782b7fd24.