Fixes inconsistent use of tabs and spaces

Ensured all tabs have been properly replaced with spaces to pass travis-ci build.