added new coordinate_test program, made modification to get orientation
working