better .gitignore file. update README for using github
bugfix for writing triclinic boxes. handle 2d systems like LAMMPS