Changed code from using cl_UP_MI to using umodpoly. The cl_UP_MI interface was