Corrected sine gen init setup and constants