don't check index of detectors, sort and unique at end of loop

another minor time saver
Merge branch 'bug/slowperformance' of https://github.com/jmarca/calvad_reducer into bug/slowperformance

Conflicts:
	lib/reducer.js