density and magnetization of rocks