Added confidence measure to simulator