Formatting Changes, Replaced `map` with List Comprehensions

- Removed all instances of trailing whitespaces. If there are more, I'll remove them as I find them.
- Replaced all instances of `map` to use List Comprehensions.
- Some method calls weren't using parentheses like so, `func arg1 arg2`. Changed them to use parentheses: `func(arg1, arg2)` for consistency. I may have missed some function calls. I'll fix them as I find them.