Added rootfinding side-application, added root-finding to main code (for solving for current). Still not functional