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