cdf method added to RV class