add the None option for least squares, fix the accuracy bug for leastsquares
add None option in KNN classifier and fix accuracy bug