Fixed bug in comparing the final result.
Old ThetaJoin removed.