Development of an optimized fitting routine for comparing theoretical data with experiments on moisture sensitive beads for carbon dioxide capture