Pure Java finite difference framework