Added standard deviation function, need to convert price to store as double.