Added spline implementation for drawing for best picture