Distributed multicomponent lineshape fitting routines and benchmarks for multidimensional spectroscopy and spectral imaging