Clean tree data
updated R scripts to work with uploaded csv