Calc: Use std::mt19937 with a deterministic seed as the random engine