Refactored experiment code a bit; implemented a multi-job diagnostic.