Added checking for both hmm (gene) and transcript overlap to the assignment algorithm

plus minor changes