Update orientation.cpp