add medea, update predictionStrength.r to use medea