convert plot1DUnderOverFlow, plot2DUnderOverFlow functions to double precision