The degree i may be a multi-degree, represented as a list of integers. The ring of M should be a (quotient of a) polynomial ring, where the coefficient ring, k, is a field.
Caveat: if the degrees of the variables are not all one, then there is currently a bug in the routine: some generators of higher degree than i may be duplicated in the generator list
| i1 : R = ZZ/101[a..c]; | 
| i2 : truncate(2,R^1) | 
| i3 : truncate(2, ideal(a,b,c^3)/ideal(a^2,b^2,c^4)) | 
| i4 : S = ZZ/101[x,y,z,Degrees=>{{1,3},{1,4},{1,-1}}]; | 
| i5 : truncate({7,24}, S^1 ++ S^{{-8,-20}}) | 




