minor fix to hydra.i, matlist is integer