added brief commented explanation of valueAtRisk function