Standard deviation of differences calculator