Make header guards consistant
Switched from vectors to stl arrays to index grid