Segfault in importance sampling
segfaults due to NaN values to fix ... :/