Further commented grid using doxygen-style. Also introduced ijcells as a
variable