https://123dok.org/document/dzxmndwy-estimating-counterparty-risk-exposure-using-brownian-motion-local.html