updated stream use and added error function to least squares classifier
forgot to add stream file...