Similarity versus distance scores

Each scoring matrix contains a flag determining whether it is a distance or similarity matrix. An appropriate optimization is used automatically. This is achieved by using exactly the same code except that one side of comparisons is multiplied by $ -1$ when dealing with similarities as opposed to distances.

Automatic builds 2017-07-19