Refactor: Replace enum with enum class direction
Refactor: Replace macros with enum class trig_fn
Refactor: Isolate open brace after control structures
Refactor: Handle all enum cases for show_dot_direction
Refactor: Isolate open brace after else
Refactor: Isolate closing brace before else
Refactor: Eliminate clutter
Refactor: Isolate closing brace in do/while
Refactor: Isolate opening brace in do/while