changing how the error is computed for the similarity code
changing how the error is computed for the similarity code

snurkabill/pydeeplearn,snurkabill/pydeeplearn,Warvito/pydeeplearn,mihaelacr/pydeeplearn,Warvito/pydeeplearn