shape of arrays for computing efficiency

check that the shape of big arrays are optimized for FORTRAN