fixed 2d plotting of quaternions

Adding some brackets solves the problem with plotting quaternoins using the plot2d widget.