Change Element API to return a StiffnessMatrix object instead of a Matrix.