Electromagnetic Wave Scattering on Nonspherical Particles: Basic Methodology and Simulations