Examples using dipoles to compute magnetic and potential fields for forward and inverse problems of the stomach.