setModelData and freeModelData were updated to support the Stiffness object, moreover the Stiffness, row and col pointers were defined