removed unused ernbm array
added multiple beams and parallel working