Some modf in the way it computes the corr fun and the gaussian P(k)