I try to convert matlab code to numpy and figured out that numpy has a different result with the std function.