An Accurate Solution for Credit Valuation Adjustment (CVA) and Wrong Way Risk