      // We can use this to get a rough idea of when the response has died
        // down to a small value.

        // This is the value we will use to determine how many frames to render.
        // Rendering too many is a waste of time and also makes it hard to
        // compare the actual result to the expected because the magnitudes are
        // so small that they could be mostly round-off noise.
        //
        // Find magnitude of the root with largest magnitude
        let rootMagnitude = lar