use integrate() for calcProbXGreaterThanY()

use R's built-in integrate() to evaluate P(X>=Y)