Toggle interpolation modes

Might probably be a good idea to use a template for this,
haven't tested the performance impact yet