Im trying to put the vector i get from z in A and from q in B and then stacking them together. arr is an array from image of size (600,478). M=600, N=478. For some reason th