change algorithm for splitting detectors between nodes

Old version: round down ndet/nproc, last proc gets extras
New version: use average ndet/nproc, floor starting points

This results in a more-even splitting between nodes.