Cleaned up a lil bit, added smooth to data/core and h1d to plot/core, fixed bug in rmsd