spectral seeds: move bin assignement into separate method assignBinsSpectral
spectral seeds: better error handling: detect codebook file format error
spectral seeds: improve sorting (faster + better code)