Unified math traits, added sin/cos, constant pan.