Fixed another misstake in std calculation