Computing value-at-risk using genetic algorithm