Added method for wall equatation