get_modcomp function

Extract (or "get") components from a KRmodcomp or SATmodcomp object.