Added randomized functions for Vector and Matrix.