Create a compoundpath from an array of paths. All this does is verify they are connected, and precomputes dimensions