fixes: TODO, debug test.clustering.R and finish writing clustering.R