(hopefully) fixed the bug with making the groebner basis monic