adding pdist2mex support in correspdst for speed.
expanding example_patchmrf