Fixed bug in queries
Finished cohesion section. Still graph to add