Submitted

Submitted version of code. Included libraries cleaned.