color change, Y deifinition changed to COS instead of SIN