Reference update for trigonometrical functions