Zaslat SMS: Mechanics and mathematics of crystals