fails:Matrix#rank doesn't loop forever
