Correct for row major ordering of C-arrays. Match cells NSArray to row m...

...ajor ordering as well.