Fixing bug in the reading of a POSCAR