Zaslat SMS: Electromagnetic theory and application for photonic crystals /