made script for jacobi-1d. it is ready to test