MATLAB scripts to reproduce the results of our TKML 2010 paper