GHpython - looping through matrix to extract values

I would echo what Tom said: Implement Math.NET in GHPython for now (which also has the added benefit of being easily portable to C# if you require/want to build a “proper” plugin at some point). Then, when CPython is natively supported in Rhino 8 Grasshopper in the hopefully not so distant future, you can likely implement numpy/scipy quite straightforwardly.