Update printing of paranthesis for complex and rational

Fixes #277