1. A method for determining a dip angle of a formation with respect to a borehole in the formation, wherein the method comprises: measuring a magnetic coupling between transmitter coils and receiver coils of a tool in the borehole, wherein the coupling is expressible as a coupling matrix in a tool coordinate system; obtaining from the measured coupling a strike angle between the tool and the formation; applying a rotational transformation to said coupling matrix to correct for the strike angle; and applying a predetermined set of rotational transformations to said coupling matrix to determine a set of coupling term values as a function of rotation angle of the predetermined set of rotational transformations.