First sweep of matrix0.pyx