Added getCol and getRow methods.