Fix tabs and whitespace formatting

Change-Id: Iae6b20134f7426c006dcfe0200e46b2cd52279ff
Signed-off-by: Mike Kelly <m.f.kelly@arts.ac.uk>