Topic add shrink function

add function to shrink a CT::Vector to a given dimension