Add TN Surrogate lib