index to column
i2col(nrows, i)
nrows
number of rows in matrix
i
the index
returns the column of the matrix
David L Gibbs