included methods for setting matrix columns and rows
edits for vector class