Cleaned up main file. Reticulated splines.