Correction of problem with math.exp, problem with overflow..