update kfold for sum

expand valid_input
Merge branch 'master' of https://github.com/WYSIATI/Machine-Learning

Conflicts:
	kfold.pyc