ec_gen_err_normal function

Simulate error realization from Normal distribution