Now allowed to include None in list of xs or ys. Including None in list will cause the index to be used.