Started to implement averaged graphing.
Fixed indices for test and cv features.