Formatting!!!

updates the formatting on all the source and header files:
  attempts to get all lines below 80 chars (I may have missed some)
  replace all tabs with 4 spaces.