Add check for divergent minima
Fix argument parser for computation scripts
Clean up