code to solve the eikonal equation using fast marching
code for eikonal equation implemented