Is this correct? I would guess the * DEG2RAD would have to be inside the cos()