DEV: put require exception instead of std::runtime_error for parameter check in NewtonRaphson1D constructor