Changed the distance calculation for very large arrays

Now it is only approximated by the first 100 speaker for the tapering function
(it is needed their to decide if an given array has any edges)
Improved performances of Green's functions by remove parameter check