Changed return type of get_compatible_units from set to frozenset

Close #89