Added documentation. Removed debugging code. Started working on soft_classify.