Java Implementation of the distance dependent chinese restaurant process