Investigating the Optical Properties of Gold Nanorods Using Forward and Inverse Design