updated XYZ reader for empty lines in XYZ files