Added a polynomial fit function in Julia