Gpu stiffness matrix assembly