Updated to reset object when underlying matrix has changed