error handling pileup reads in calc_coverage
fixing some div by zero errors