write out materials file
write out geometry file
added lattice info