ec_gen_err_ev1 function

Simulate error realization from EV1 distribution