Calculate Orientation and pass it to Client