Added documentation for PairDStreamFunctions.
Fixed bug