more memory efficient now
wrote up how to train the component svms