Structural Equation Models as Computation Graphs