Exact probability density function using multivariate transformation