pub fn stack(parts: &[&[f64]]) -> Vec<Vec<f64>>
Parts stacked: the first, the first two added, and so on; the last line is their sum, the motor torque.