removed sqrt from nodal_diff.py