Added random matrix within bounds generator.