Reformats orientations.cpp