add set and get functions for data transfer.
TODO:
- add conversion for mma --> matlab
- add error handling