Additional gradient calculation techniques.