Removing silly cout statements, adding back 3-step discrete minimization