Added example cpp code that calls matlab engine