Finish calculating sum mean std