FuncPathMSD: it now accepts CONTACTMAP in input