implemented inner product similarity and his test