some more nice sin/cos from printing code