additions

added MATLAB example and scripts from wg