Fixed problem with POSCAR natoms lines that have zero in them.

Made POSCAR scale the normal positive length scale
small improvements