Optimization of a plasmonic-enhanced photodetector design