Fixed a number of indentation issues

Fixed a number of indentation issues where tabs were used instead of spaces.