Added line to predictive() routine to allow for
error arrays that have shape [n,1], i.e. not flat.