Fix bug in t-closeness implementation and refactor config