scale_robust function

Scale counts in a robust way against sd == 0