Tabs to spaces

Converting all tabs to spaces.
Fix indentation to be three spaces in all cpp/h files.