Text this: Greatest common divisor and least common multiple matrices on factor closed sets in a principal ideal domain