Used Uncrustify to fix formatting in source files

There were a mix of hard tabs with spaces in indentation which caused issues in
text editors. These hard tabs have been removed and the document has
been formatted.