In order to use the functions of LocFreeClassGrp.m one has to type Attach("RelAlgKTheory.m"); You should have a look at the sample file test.m to see how the fonctions can be used.