nalgebra
pub fn new_identity<M: Eye>(dim: usize) -> M
Construct the identity matrix for a given dimension