Now working for RREFing test cases with proper input.