Passes tests for solve does not reorient