General Bug Fixes

-Fixed "all zeros" generate bug
-Code is now fully commented