fixed PairwiseDistance type() function bug.  Overloaded type now returns self.
Merge pull request #201 from jonathantompson/pairwisedist_self

fixed PairwiseDistance type() function bug.  Overloaded type now returns self.