Fetching row and column by their indices

Added methods GetRow() and GetCol() to fetch and return a vector
containing the row and column respectively at the index given by the
arguments. Also modified the names of existing function to GetNumRows()
and GetNumCols() to avoid confusion.