trim_pool function

Use a caliper to trim the data to only observations within threshold