Characterization of Gastric Electrical Activity Using Magnetic Field Measurements: A Simulation Study