Use out of tree "num" crate
Use `iter_mut` instead of the deprecated `mut_iter`