Trigonometry implementation started.