added wrapping of complex interpolation
added tests