Fixed to_s method for special cases for monomial