Zaslat SMS: Methods in helio- and asteroseismology