scripts to perform direction reconstructions with cartesian coordinates.