Direction Of A 3d Vector In Matlab