Added psinorm2rho helper function.