Wave Optics Software for Analyzing Micro- and Nano-Optical Devices