Standard Deviation Python Numpy Random Matrix Mathematica