imagine I have a 3 columns matrix x, y, z where z is a height/intensity of x and y.
x = runif(1000) y = runif(1000) z = rnorm(1000)
How to us