FIX: bin_parallel corrected so that each chunk is sorted before binary search is used.
FIX: plot intensity changed to use intensity() method