gratings thin-client gsolver maxwell's equations software field radius3 electromagnetic application simulation