added polyfit_binned
fixed bugs in polyfit_binned
bug fixes
? minor changes I think
added argextrema