vector_type function

Determine the "type" of a vector