A method for reconstruction of residual stress fields from measurements made in an incompatible region