malloc/memset -> calloc
added c hcluster
Merge branch 'working'