Adding zeeman shift calculation