Zaslat SMS: Continuum theory and modeling of thermoelectric elements /