fixed a huge bug when calculating copy number corrections