Not creating files if they are empty.
Added option to do_svd to output the just "training" matrix, just the "test" matrix or the concatenation of the two