Rand-Matrix

Added const to functions parameters.