This code provided by Ziv Bar-Joseph (zivbj at cs.cmu.edu) with the explicit 
understanding that no licensing is required for it to be used in the UCSC 
Genome Browser as long as reference is made to this paper:
https://www.ncbi.nlm.nih.gov/pubmed/12801867
