Added traza and esCuadrada methods.