This is an implementation of the fuzzy k modes algorism.