incorrect gibbs motif search and other additions