add total to grid-standard-deviation