pub type PartFuncMat = Vec<Vec<f32, Global>, Global>;