Calculation of molecular magnetic properties within the Landau gauge