fixed test function errors - changed double to Double; still have one
error because the valueAtRisk function was commented out