function variance

Returns the variance of X.

Syntax
result = variance(X)

Arguments
X:   A matrix.