Add in a function to pull out columns of a matrix as a vector.