Implemented sparse communication algo
cleaned junk up