BF: test for zero variances to avoid divide by zero
BF: test for zero variances to avoid divide by zero

kellieotto/permute,jarrodmillman/permute,kellieotto/permute,stefanv/permute,qqqube/permute,statlab/permute,pbstark/permute