cos almost working add unit circle values