Change intensity computation do the minimum during multiprocessing part
For intensity computation, only the sum is done in multiprocessing and the saving the HDF5 is done in the main thread of the main process. From what I tested, this avoids an issue on macOS (issue #79 (closed)).