Standard Deviation Python Numpy Random Matrix Matlab