Adding ability to wrap local buffers with numpy arrays, adding ability to pass complex data, and adding complex example