3-D routing algorithms in mobile ad hoc networks