Surface plot is fully functional and code is finally commented