added a small comparision for checking condition numbers