magic quadrilateral facet orientations

Serial implementation!