added parabola function, dont know how if these functions work properly yet or not