Explicitly designate sum direction for k=1
Generalize to features other than shape contexts