pub fn scale(x: f64, y: f64) -> Array2<f64>
generates a matrix describing scaling in image index space