Bayesian Approach to Inverse Problems