Complete updates to matrix to work with new Piece
updated piece to convert rotation to an int