Implemented struct array I/O; Added MATLAB test;