changed how I time things, added makefiles, turned on compiler optimizations