Add interpolation functionality, closes #9