Added --check to the configure script, more configurable graph plotting