The MATLAB files needed for the PLoS Computational Biology paper.