added the code for CHROM, able to reproduce results from the paper