New tools for quantitative analysis of nuclear architecture