Colley Matrix creator for Python