Remove an invalid matrix generation method
Stop using C++11 functionalities (they were used in the tests, when using <random>).