added comments and mask support for volknnsearch
small cleanup in example_patchmrf
added pdist2mex support in correspdst