Fixes linear algebra bug.
Simplifies names of test graph files.