May 30, 2026 Bayesian Inference for Inverse Problems: Metropolis Sampling for Source Identification and Linear Regression