standard deviation and color bucket function