Adding call to set trim policy

Adds additional function call which lets the controller set the trimming policy. This is disabled by default (use with care).