added random vector methods