I am working on python. So, I got a main matrix lets call it "X". Then I got a list of other 5000 matrices which is called Z. I want to apply between X and each matrix