added 1D gnuplot writing
added test problem for test b understanding