by tyler
Tyler added a non-negative test for std
merging with tyler