a well mapping apparatus comprises : a magnetic field sensing device whose output is proportional to a local magnetic field vector , an acceleration sensing device whose output is proportional to a local gravity vector , the devices supported for rotation about a common axis , in a borehole , the outputs being usable in the determination of azimuth and inclination of the borehole .