removed saving of all data points, instead only save time data, added optimization to makefile