map -package:aeson -package:ghc -is:exact -package:base-compat package:dense-linear-algebra

Apply function to every element of matrix