Example finding components of a vector