code restructure..
hermite interpolation refined. Better now,