Fix GMAX2 assignment
Change printf to cout
Change malloc to new
Include C++ standard libraries
Display in scientific format