Added total_mass initialisation
Added support matrices (colmajor and rowmajor) to segment Jacobi