Correct flipping of arrays in both 3D and 4D case
Pass identical arrays (same as Matlab) in 1LA