Calculating contour curves for 2D scalar fields in Julia