loop to save memory in correlate_inter, resolved #34
resolved unittest failures
bugfix in Rings.inter