Improvement of relaxation method for Hall plates