Opengl Plotting Library C++