Btw, my goal is to make Fortran as easy as MATLAB or SciPy, so that one can do this within Fortran easily.