Simple 1D inversion using an Iterative Reweighted Least Squares algorithm for lp-norm regularization