gap> K:=PureCubicalKnot(3,1);; gap> Y:=PureComplexComplement(K);; gap> Y:=ContractedComplex(Y);; gap> Y:=RegularCWComplex(Y);; gap> Y:=SimplifiedComplex(Y);; gap> C:=ChainComplexOfUniversalCover(Y);; gap> G:=C!.group;; gap> GeneratorsOfGroup(G); [ f1, f2 ] gap> RelatorsOfFpGroup(G); [ f2^-1*f1^-1*f2^-1*f1*f2*f1, f1^-1*f2^-1*f1^-1*f2*f1*f2 ] gap> hom:=GroupHomomorphismByImages(G,Group([[-1]]),[G.1,G.2],[[[-1]],[[-1]]]);; gap> A:=function(x); return Determinant(Image(hom,x)); end;; gap> D:=TensorWithTwistedIntegers(C,A); #Here the function A represents gap> #the integers with twisted action of G. Chain complex of length 3 in characteristic 0 . gap> Homology(D,0); [ 2 ] gap> Homology(D,1); [ 3 ] gap> Homology(D,2); [ 0 ]