created pegtx codebooks, validated against matlab kmeans