scan_hh function

Compute iHH, iES and inES over a whole chromosome