Adjusted for pre-calculated descriptors and makeing the nTop argument work with signatures
Test fixed. Now working