Nagyfalusi Balázs: Magnetic anisotropy and spin reorientation transition in thin films - the metadynamics method