add new constructor to make a matrix subset