removed unuseful storage of counts for further summation into direct summation
added exception throw for trying to write an estimation to file if the estimation is not computed