aaaa bbbb cccc I converted this to an array like: aaaabbbbcccc I know x and y which are coordinates for the original matrix. now I need to get the position in the long array. I need the formula for it