Bugfix: segfault when OMP_NUM_THREADS == 1

Reported by Wout De Nolf
Doppler icdfs are now only calculated when necessary

Could be a huge timesaver when operating in tomography mode with low
number of simulated photons.