The function generates
M intervals, whose endpoints are
are drawn uniformly without replacements from
n. This routine can be
wbs function and is typically not called directly by the user.
a number of endpoints to choose from
a number of intervals to generate
M by 2 matrix with start (first column) and end (second column) points of an interval in each row