Minor changes

Erasing deprecated headers and giving back the incidente matrix method
in graphs.