fliplr and flipud for the matrix
Lapack memories aligned