The vectorUp command doesn't always return a unit vector (vectorMagnitude _vector != 1). I'm not sure if it's intentional but at least that is the expected behavior (similar to vectorDir command).
This might potentially be a bug with the setVectorUp command (if it sets the vectorUp incorrectly, the return value is also incorrect).