Basic functionality implemented but not working for using matio