[Fix #368] Remove random numbers from test

The ACID test should always produce the same output, so `rand`
should not be used.
In one case, it is used by fixing the seed using `rng`.
This has only been tested on MATLAB (R2014b).
Merge branch 'Issue368'