minor modifications in composition tool and probablity tables
slightly improved measures