Solution to a Two-Dimensional Electrostatic Problem for an Oblique Magnetoresistive Element