added standard monomial calculation