map -package:charset -is:exact -package:ghc -package:aeson package:dense-linear-algebra -is:exact

Apply function to every element of matrix