1. Add lmeansd.R;
2. Add locspline.R: unfinished work.