compare the data with old code, fix the coeffecients