Erlang NIF matrix functions that that uses the LAPACK