add euler angle calculation