Stochastic Kronecker Generation in Python, Used in RPI TRUST