Correct cos()