Calculating the gene activity matrix of scATAC-seq