Added synthetic objective column

Fixed two csv items in dynamic tree bug. Cleaned up code a bit.