Using Bezier Curves in Medical Applications