bug with needleman wunsh using real number similarity matrix