Cleanup

Replace tabs, remove trailing spaces, keep coding style consistent
Cleanup

Replace tabs, remove trailing spaces, keep coding style consistent
Add clockwise option