avoid modifying input arg in explore method of HistogramRegistration
add gradient and hessian computation methods to HistogramRegistration object