Cleaned hlearn-allknn to be usable; added some regression stuff