Added Trim In Place

* Added Trim in place without making any copies.
* Changes some basic stuff with TrimInPlaceWithCopy.