KCS: Initial code for One-vs-all classification