D2 rotational population calculation