Added more documentation to Slopes.cpp