Add shortcuts to random matrix generator.