Computes the span of a vector.
sp = span(W)
mdp_span computes the span of the W vector:
max W(s) - min W(s)
a vector.
the value of the span of the W vector.
-> W = [1; 2; 3; 4]; -> sp = mdp_span(W) sp = 3