pub fn detect_stiffness(prob: &Problem) -> bool
Detects whether the problem is stiff using a heuristic.