Extension of the Matrix class in Gideros