Cleared relaxationMethod code