Improvement: Cache input netcdf file
Since the program does not use a lot of RAM, one could read the complete netcdf input file at once (or at least the amount of steps until results are being dumped. This way we avoid constantly opening and reading a file.