fixed some bugs and added revised graph downsampling, so you can see a subset of the zeros/non-zeros for big problems