Combined all intervals into single matrix