#127 Matrix Implementation