Use the RNG to resolve #1281  in spatiotemporal_cubes

Resolved #1281
Merge pull request #1300 from euphoris/test_video

Use the RNG in spatiotemporal_cubes