BUG: cast pchip arguments to floats