Moved persistent-vector conversion from format-nn-stru to format-matrix-with-labels
Added comments.