Optimized method for solving the inverse problem for a triangular plasmonic waveguide using a response of scanning heterodyne microscope