Add ability to chop up query sequence

Parametrized with lengths k_v and k_d.

Also tore out a huge amount of sequences class, since the
variable num_of_sequences was conflicting with sequences::size() and
causing things to fail mysteriously and catastrophically.