Its this or printing a bunch of messages when it gets a nan/nan or 0 variance comparison. I would very much be down to handle this a different way, but unsure of how to do it.