Theory Of A Coil-type Resistivity Sensor For MWD Application