The computation of the madelung matrix appears not to be threads safe and cause errors. The shared memeory parallelization was removed at the moment