Added upci compute and graph draw.