return a unit vector
function unitVector input Integer ith "ith component is one"; input Integer n "size of the vector"; output Real[n] ei; end unitVector;