Quantitative Textural Measurements in Igneous and Metamorphi