Perl routines for data sets interpolation and interval search