Edited the distances.h. Proeperly Indented, added comments, added some similarity measures to be used by memory based cf algorithms.