Period-1 is the normally used formula. The difference that I know between Moment and StdDev is that the TA-LIB rounds StdDev down to zero when below 0.0001.