Thermal Mass Transfer in Systems Containing Quartz and Calcite