inner product

pre: 3 way stopcock directions
next: smith waterman alignment