correct_counts: Correct data by setting all latent factors to their median values and reversing the regression model
Description
This version does not need a matrix of Pearson residuals. It takes the count matrix as input and
calculates the residuals on the fly. The corrected UMI counts will be rounded to the nearest
integer and negative values clipped to 0.