added rho calculations and rho tests