Cleaned up whitespace in library files
Converted tabs to spaces
Normalised indenting to 4 spaces
Merge pull request #117 from njh/whitespace

Cleaned up whitespace in library source files