vectorised labelling in repsim2

small speedup, removed last for loop in repsim2