AMG: Removed useless debugging code which only leads to one warning with cppcheck.
cppcheck: Fixed return value of operator++ for iterators.

A reference to a temporary was returned, which is likely to cause troubles.