combinatorial sampling of sectors
final version of analysis code