Added access functions for orientation data.  Added test code