Fluid Simulation Code (C++, and OpenGL)