closes #555 closes #554
closes #555
closes #554

fixes a bug in estimation code with multiple outcomes
removes debug code from estimation code

OHDSI/Atlas,OHDSI/Atlas,anthonysena/Atlas,OHDSI/Atlas,anthonysena/Atlas,OHDSI/Atlas