added jacobi2d vary input