Fixing bug in StructureFactorGrid.cpp (ortho mode).