Version 1.0.2

Cleaned up code, better comments and easier to read output for the user.