Removed excess gibberish

Cleaned up unecessary code and fixed minor bracket, spacing issues.