Added csv to nex change into external algorithms execution. Should be refactored somewhere else at some point of time. Also changes semstem to produce newick trees.