Fixed some errors 

Also started working on bringing d tree section in line on notation.