ref #77 fixed random vectors