trim function

Trim a Numeric Vector