Make it possible to configure edge interpolation and tension

Fixes #9.