I have a 2-column matrix: Column 1 has events (in the form of integers), column 2 counts how frequently those events occurred. I would like to turn this back into the raw data, effectively the inverse of tabulate(). I.e. turn [0 4; 1 2; 2 2; 3 1; 4 0] into [0 0 0 0 1 1 2 2 3]. Any ideas? Cheers.