Update vector.h

Fixed rows() and cols()