fixed a problem with the smith waterman, whereby the last matching element was removed from the alignment (the offending line commented out with a question for someone as to why it was there in the first place)
added test case for reversed order