prodall_byname function

Product of all elements in a matrix