Methods for Converging Solutions of Differential Equations: Applying Imaginary Time Propagation to Density Functional Theory and Unsupervised Neural Networks to Dynamical Systems