list2matrix function

Coerce a BAS list object into a matrix.