Made the first close to zero algorithm its own function.
Added second algorithm and added timers to calculate algorithm runtimes.