add polynomial curve fitting