Added algorithm for parabola