Revert "Should Fix the Divide by Zero problem and also added a small GUI"

This reverts commit 07b8b1df639e0e572460b6d571db2255a580d768.