Error is now thrown when distances lie outside of the cutpoints provided
by the user (if the distbegin and distend terms are to be generated by
create.bins). Thanks to Suresh Kumar for finding this bug.