sem function

Score directed graphs outputed by qdg using structural equation models (SEM)