implemented dStar, a double-integral