remove readme.mad and update polyfit.cpp