minor improvement

Improvemed dispaly of quaternions and polynomials