Added alternate sine method