MAP estimators for piecewise continuous inversion. (8th August 2016)