fixed a bug in the calculation of the logarithmic derivates for mean field parameters; cleaned up the lattice class a little bit (there is now a distiction between lattice indices and so called spindices that run from 0 to 2L and also count the spin degree of freedom)
improved the readability of the Lattice2DSquare implementation (this is in preparation of the upcoming two layer square lattice class)