set_matrix_data_attributes needs to be called for jacobians not displacements