Added missed config file.
Added different variants of weights for distance computing.