Fixed the molden writer section.