SMS: Theoretical geochemistry