added convert_to_matrix method in SGVector
Merge pull request #1271 from gsomix/feature/linereader

SGVector: convert_to_matrix method