Added RREF Method

Changed Matrix infrastructure too