implement standard deviation algorithm that can't be used yet