Finite Element Methods in Resistivity Logging