tweaks to indexing numpy arrays, set enrichment tuning