The stats nanstd() and nanmedian() functions are still broken. I submitted a patch associated with ticket 337, and an updated patch associated with ticket 368 (with an improved nanstd() algorithm, a fix for the gmean() function, some docstrings, and a new function sigmaclip()). Could someone please apply this patch. Thanks! Matt