Formatting Changes

Removed trailing spaces and fixed file endings.