returns dims-by-one column-matrix with entries set to corresponding row index for a positive fixnum dims.