This function is needed for DE in case the matrix is not rectangular, but includes NA
fill_NA_with_row_median(.matrix)
.matrix
A matrix