On the magnetic field distribution generated by a dipolar current source situated in a realistically shaped compartment model of the head