A quantitative study of the weathering of greywacke