This works perfectly, thank you! I manages to simply transpose the matrix to 
get what I wanted, but this makes your code snippet was very helpful.

Reply via email to