#330 Modified getRootIndex and horizontal tree layout to deal solely with the ontology in question