Random vector and matrix example.