Nonlinear deconvolution of hyperspectral data with MCMC for studying the kinematics of galaxies