implmented neumann
implements cauchy