Changes done for new aliroot version. Faster calculation through saving LUT for kappa.