Python Standard Deviation Function Matlab