Add capacity for calculating qSum from cluster
Add ability to feed clusters into testing code