transform_pars function

Transforming parameters from -Inf to Inf into parameters from -1 to 1