added window functions, added calculation of Comparison Table 2 (shift around instead of pattern matching)
added calculation of Comparison Table 3 (random matching positions)