Standard Deviation Function In Python Definition