Improved formatting and fixed AccountProxy. calculateExposure now returns double.