match_lineshape function

Apply Voigt line-broadening to match a reference spectrum.