trim function

Trimming data frames or more complex objects with >= 2 numeric columns