Documentation fixes.
Change gnx, gny, gnz to gn[], add comments to lattice.