matlab file added for testing