msep function

The m-separation criterion