Added the calc_drag_polar function