Triplet Thinning Method Error Fixed