Made it possible more than 1 function to be drawn on the opengl widget