made changes exploring closed form cross validation