Revert "kmeans"

This reverts commit 80ef5766db71310c83a1e886adc15eecaf0dc2ee.
minor fix in thread.c to make Makefile.seq work
make kmeans work
Merge branch 'master' of github.com:nathanielherman/sto-stamp