n2_fit