Add functions to compute pdf for X^2 and sqrt(X)