turn a servo from side to side using sine wave motion
cleaned up variable names & comments