Modeling the properties of quartz with clusters