Error function for just w,x and t needs to be written, then the error can be plotted. A bit fuzzy on cross-validation tho