Finish parsing libsvm data and forming multiple data matrices