Part of matlab interface working, initialisation from vector not quite there yet