added FromSlice matrix contructor