If I had a matrix like the one below:
X=[1 2 3; 1 4 5; 1 6 7; 1 8 9; 0 10 11; 0 12 13; 1 14 15 ]
and I wanted to evenly distribute the contents