A geometrical procedure for computing relaxation