pub fn compute(parsed: &[Vec<f64>]) -> SumOfProducts
Computes the product of each row and the sum of all products.