added MATLAB gui and visualization