created function to display standard deviation values to file