fixed random unit vec function
oops