note to self: f2py. Fortran + Python for speed.