had to change fortranArray to FortranArray<dim>() for some reason.