Made update pulse rate variable on another sine wave