SMS: Grid computing for electromagnetics