SMS dit: Design of crystal and other harmonic oscillators