Reusing the cosine/sine values