Edited distribution function: now uses par W setting minimum distance between occurrences, and uses difference coordinate selection algorithm.