look up table optimization on the sin