Numpy Standard Deviation Function In R