Added ability to classify objects to hist

The HistoricalNodeHelper now computes the direction of an object and
places it into the appropriate category for object classification. This
information isn't used for anything yet.