Connection between sensitivity algorithm and gradient calculation of the loss function

It overrides the default and chooses which sensitivity method to use.