Fortran Reshape Function In Python Example