added max-max-simularity

and increased bound on an application of k-medoid clustering since was not high enough to always converge