Improve printing for mul and pow

Fix for #289 and #324