removed commented code previously moved to poscar.py