1.3

Cleaned the code a bit, more comments, and more readable.