Updated TriLibrary
Merge remote-tracking branch 'origin/sparse' into sparse