C++ example is coming soon.
This function uses the pre-allocated matrix that are inside data
This feature is not working on 16.04.