Enter the email address associated with your account, and we'll email you a link to reset your password.
Around 1000 gives Iterative: 0.054137468338 Matrix: 1.92105817795
This all stays in memory for my machine.
You can find the improved fork of your code here:
gist.github.com/ClashTheBunny/762a497d920a24aada69