bugfix rayleigh distr