def cursorAtSpaceEnd(block):
            cursor = QTextCursor(block)
            cursor.setPosition(block.position() + len(blockIndentation(block)))
            return cursor
def get_iterations(self):
        """!
        @return (uint) Amount of iterations that were done by the EM algorithm.