Speed up sin/cos lookups with integer angles