Added get_composition_chempots to pdanalyzer