changed gradient test to per-component

added trilinear sampler to ssi and can switch between nearest and
trilinear filtering with 'F' key.