* Housekeeping

* Removed some redundant code
* Restructured some data manipulations
* Added tool description
* Changed some comments to better reflect function