scdb_mat - get matrix from db, load it if needed

scdb_mat(id)

Arguments

id

- matrix id. Will return null if does not exist