Bug in var() when supplying means as vectors

You might also make use of the available standardization:

https://juliastats.org/StatsBase.jl/stable/transformations/