Added functions to transform parameters of logistic functions into samples of a logistic function and the same for radial functions.