added error checking and removed unused streams in saving history
Merge branch 'master' of github.com:rahulkmishra/incrLaSVM