Zaslat SMS: The simulation of switching in polycrystalline ferroelectric ceramics