Added gcc Makefiles to the Serial and BarnesHut variants. Also made various changes to improve consistency among variants.