Julia function to approximate some of the measures of the recurrence quantification analysis (RQA). The calculation is performed in an efficient way by sampling a limited number of recurrence plot lines directly on the time series (and without preceeding calculation of the recurrence plot).