Source inversion solver