Counterparty Credit Risk Modelling: Risk Management Pricing and Regulation