added support for numerical gradient injection to higgs example