Three Dimensional Dog: A Unified Theory of Canine Behavior