pyranha: extend sin/cos to work the same wey binomial now does, add some testing and minor doc fix.