Changed order of input arguments for sim_ber