moved plotting handling to lambda in rk4ip_vec.jl