Electrical properties of rock