Create Remove Duplicates from Sorted List (pyemma)