Handle stddev with n =1. Close #23.