Time Scales of Magmatic Processes from Modeling the Zoning Patterns of Crystals