bug correction

the CalibrationAlgo_HBAN function was not working in the very rare case
when the diagonal search was activated and lead to a set outside the
authorised range