i++ added.  What is delay.
fixing sine function table thing