Enforce xFilesFactor between 0 and 1

It was bugging me that I could set illogical xFilesFactor values.  Now they raise ValueError.
New tests included.