Electrodynamics of nonspherical noble metal nanoparticles and nanoparticle aggregates