computeGradients()
This command is used to perform a sensitivity analysis. If the user wants to call this command, then the '-computeByCommand' should be set in the sensitivityAlgorithm command.